package com.bw.bean;

/**
 * @BelongsProject: User
 * @BelongsPackage: com.bw.bean
 * @Author: cuizexuan
 * @CreateTime: 2025-07-07  15:34
 * @Description: TODO
 * @Version: 1.0
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShopCustomerMetric {
    private Long shopId;
    private String shopName;
    private Timestamp statTime;
    private Long totalCustomer; // 总客户数
    private Long newCustomer; // 新增客户数
    private Double totalConsumption; // 总消费金额
    private Double avgConsumption; // 平均消费金额
    private Double customerRetentionRate; // 客户留存率
    private Long activeCustomer; // 活跃客户数
}
